#ifndef DEVICEDATABASEOPERATIONS_H
#define DEVICEDATABASEOPERATIONS_H

#include <QMessageBox>
#include <QSqlDatabase>
#include <QSqlError>
#include <QSqlQuery>

extern bool connectDeviceDB(QString dbName);

extern void closeDeviceDB();

extern void removeDeviceDB();

extern bool updateAllTableProductIDAndDeviceID(int productID, int deviceID);

extern QString selectDeviceName();

#endif // DEVICEDATABASEOPERATIONS_H
